#ifndef DIALOGNEWTEXTURE_HPP
# define DIALOGNEWTEXTURE_HPP

# include <QDialog>
# include <string>
# include "TextureBehaviour.hpp"

namespace Ui {
class DialogNewTexture;
}

class DialogNewTexture : public QDialog
{
    Q_OBJECT
    
public:
    explicit DialogNewTexture(QWidget *parent = 0);
    ~DialogNewTexture();
    
    void        initWidgets();

    std::string         getName() const;
    std::string         getPath() const;
    TextureBehaviour    getTextBehaviour() const;
    bool                isLoaded() const;

public slots:
    void        buttonActionBrowse();
    void        buttonActionLoad();
    void        buttonActionCancel();

private:
    Ui::DialogNewTexture*   ui;
    std::string             _name;
    std::string             _path;
    TextureBehaviour        _textBehaviour;
    bool                    _isLoaded;
};

#endif // DIALOGNEWTEXTURE_HPP
